/*
 * Пакет "Интерфейс пользователя"
 */
package vitarium.gui;

/**
 *
 * @author ivanhoe
 */
public class ViAboutDialog extends javax.swing.JDialog {

    /** Creates new form ViAboutDialog */
    public ViAboutDialog(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        vitaAboutPicture = new javax.swing.JLabel();
        nameLabel = new javax.swing.JLabel();
        versionLabel = new javax.swing.JLabel();
        creatorLabel = new javax.swing.JLabel();
        emailLabel = new javax.swing.JLabel();
        versionHeadingLabel = new javax.swing.JLabel();
        emailHeadingLabel = new javax.swing.JLabel();
        creatorHeadingLabel = new javax.swing.JLabel();
        descrLabel1 = new javax.swing.JLabel();
        descrLabel2 = new javax.swing.JLabel();
        creatorStatusLabel = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        vitaAboutPicture.setIcon(new javax.swing.ImageIcon(getClass().getResource("/vitarium/resources/gui/about.png"))); // NOI18N

        nameLabel.setFont(new java.awt.Font("DejaVu Sans", 1, 24)); // NOI18N
        nameLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        nameLabel.setText("Vitarium");

        versionLabel.setText("0.1beta");

        creatorLabel.setText("Иван Коровин");

        emailLabel.setText("i.d.korovin@gmail.com");

        versionHeadingLabel.setFont(new java.awt.Font("DejaVu Sans", 1, 13)); // NOI18N
        versionHeadingLabel.setText("Версия");

        emailHeadingLabel.setFont(new java.awt.Font("DejaVu Sans", 1, 13)); // NOI18N
        emailHeadingLabel.setText("e-mail");

        creatorHeadingLabel.setFont(new java.awt.Font("DejaVu Sans", 1, 13)); // NOI18N
        creatorHeadingLabel.setText("Автор");

        descrLabel1.setText("Интерактивная модель  ");

        descrLabel2.setText("замкнутой экосистемы");

        creatorStatusLabel.setText("2 курс 41 группа");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(vitaAboutPicture, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(versionHeadingLabel)
                        .addGap(18, 18, 18)
                        .addComponent(versionLabel))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(creatorHeadingLabel)
                            .addComponent(emailHeadingLabel))
                        .addGap(27, 27, 27)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(creatorStatusLabel)
                            .addComponent(creatorLabel)
                            .addComponent(emailLabel)))
                    .addComponent(descrLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE)
                    .addComponent(nameLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE)
                    .addComponent(descrLabel1))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(nameLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(descrLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(descrLabel2)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(versionLabel)
                    .addComponent(versionHeadingLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(creatorLabel)
                    .addComponent(creatorHeadingLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(creatorStatusLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(emailLabel)
                    .addComponent(emailHeadingLabel))
                .addContainerGap(13, Short.MAX_VALUE))
            .addComponent(vitaAboutPicture, javax.swing.GroupLayout.DEFAULT_SIZE, 218, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                ViAboutDialog dialog = new ViAboutDialog(new javax.swing.JFrame(), true);
                dialog.addWindowListener(new java.awt.event.WindowAdapter() {
                    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
                    }
                });
                dialog.setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel creatorHeadingLabel;
    private javax.swing.JLabel creatorLabel;
    private javax.swing.JLabel creatorStatusLabel;
    private javax.swing.JLabel descrLabel1;
    private javax.swing.JLabel descrLabel2;
    private javax.swing.JLabel emailHeadingLabel;
    private javax.swing.JLabel emailLabel;
    private javax.swing.JLabel nameLabel;
    private javax.swing.JLabel versionHeadingLabel;
    private javax.swing.JLabel versionLabel;
    private javax.swing.JLabel vitaAboutPicture;
    // End of variables declaration//GEN-END:variables

}
